package co.fitstart.entity.user;

import com.demo2do.core.format.PersistentFormat;

/**
 * 
 * @author mohanlan
 *
 */
@PersistentFormat
public class StudentCourseStat {
    
    /** 线上课程购买统计数 */
    private int onlineCount;
    
    /** 线下1v1购买报名统计数 */
    private int individualCount;
    
    /** 线下团课购买报名统计数 */
    private int groupCount;
    
    /** 线下年卡购买报名统计数 */
    private int yearCount;
    
    /**
     * The default constructor
     */
    public StudentCourseStat() {
    }
    
    /**
     * 
     * @param count
     * @return
     */
    public StudentCourseStat addOnlineCount(int count) {
        this.onlineCount = this.onlineCount + count;
        return this;
    }

    /**
     * 
     * @param count
     * @return
     */
    public StudentCourseStat addIndividualCount(int count) {
        this.individualCount = this.individualCount + count;
        return this;
    }

    /**
     * 
     * @param count
     * @return
     */
    public StudentCourseStat addGroupCount(int count) {
        this.groupCount = this.groupCount + count;
        return this;
    }

    /**
     * 
     * @param count
     * @return
     */
    public StudentCourseStat addYearCount(int count) {
        this.yearCount = this.yearCount + count;
        return this;
    }

    /**
     * @return the onlineCount
     */
    public int getOnlineCount() {
        return onlineCount;
    }

    /**
     * @return the individualCount
     */
    public int getIndividualCount() {
        return individualCount;
    }

    /**
     * @return the groupCount
     */
    public int getGroupCount() {
        return groupCount;
    }

    /**
     * @return the yearCount
     */
    public int getYearCount() {
        return yearCount;
    }

    /**
     * @param onlineCount the onlineCount to set
     */
    public void setOnlineCount(int onlineCount) {
        this.onlineCount = onlineCount;
    }

    /**
     * @param individualCount the individualCount to set
     */
    public void setIndividualCount(int individualCount) {
        this.individualCount = individualCount;
    }

    /**
     * @param groupCount the groupCount to set
     */
    public void setGroupCount(int groupCount) {
        this.groupCount = groupCount;
    }

    /**
     * @param yearCount the yearCount to set
     */
    public void setYearCount(int yearCount) {
        this.yearCount = yearCount;
    }
}
